package com.cch.cooperation.dao.blacklist.model;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 
 *
 * @author cch on 2025-05-12
 */
@ApiModel("")
@Data
public class Blacklist implements Serializable {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("目标id")
    private String targetId;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date timeCreate;

    public static final String ID = "id";
    public static final String USER_ID = "user_id";
    public static final String TARGET_ID = "target_id";
    public static final String TIME_CREATE = "time_create";

}